package com.wj.jiangan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wj.jiangan.pojo.Part;
import com.wj.jiangan.pojo.ext.PartExt;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wj
 * @since 2019-11-05
 */
public interface PartMapper extends BaseMapper<Part> {



    /**
     * 部门业绩饼图数据
     */
    List<PartExt> departmentPerformancePie();

    /**
     * 根据pid查找部门
     */

    List<Part> findAllPartQueryById();
}
